/**
 * author: zhanghuan
 * created: 2020/3/31
 * describe: home页
 */

const routes = [
    {
        path: '/',
        redirect: '/home'
    },
    {
        path: 'home',
        name: 'Home',
        component: () => import('../views/home/Home.vue')
    },
    {
        path: '/about',
        name: 'About',
        // route level code-splitting
        // this generates a separate chunk (about.[hash].js) for this route
        // which is lazy-loaded when the route is visited.
        component: () => import( /* webpackChunkName: "about" */ '../views/home/About.vue')
    },
]

export default routes